package com.cloudbroker.bcs.platform.dav.bizapi.service.business.customer.vo;

import com.cloudbroker.bcs.common.validatioin.annotation.EnumValue;
import com.cloudbroker.bcs.common.validatioin.annotation.IntegerString;
import com.cloudbroker.bcs.common.validatioin.annotation.Length;
import com.cloudbroker.bcs.common.validatioin.annotation.NotBlank;
import com.cloudbroker.bcs.platform.dav.bizapi.constants.type.CustomerType;
import com.cloudbroker.bcs.platform.dav.bizapi.service.base.vo.HSBCPSVO;

public class UserCountForm extends HSBCPSVO {
    
    private static final long serialVersionUID = 2224893683670740384L;
    
    @NotBlank
    @IntegerString
    @Length(max = 20)
    protected String user_id;
    
    @NotBlank
    @EnumValue(enumClass = CustomerType.class)
    protected String user_type;
    
    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getUser_type() {
        return user_type;
    }
    
    public void setUser_type(String user_type) {
        this.user_type = user_type;
    }
    
    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("FansCountForm [user_id=").append(user_id).append(", user_type=").append(user_type)
                .append("]");
        return builder.toString();
    }
    
}
